package cn.dankal.flyaudio.personal.notificaiton


import cn.dankal.basiclib.base.activity.BaseStateActivity
import cn.dankal.basiclib.protocol.MainProtocol
import cn.dankal.flyaudio.R
import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import kotlinx.android.synthetic.main.activity_system_message_detail.*

@Route(path = MainProtocol.SYSTEM_INFO)
class SystemMessageDetailActivity : BaseStateActivity() {

    @Autowired(name = "content")
    @JvmField
    var content: String? = null

    override fun getLayoutId(): Int {
        return R.layout.activity_system_message_detail
    }

    override fun initComponents() {
        ARouter.getInstance().inject(this)
        addSingleTitleBar("通知详情")
        tv_message.setText(content)
    }

    override fun contentView(): Any {
       return cl_content
    }
}